home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 20
/
Aminet 20 (1997)(GTI - Schatztruhe)[!][Aug 1997].iso
/
Aminet
/
comm
/
www
/
HTP.lha
/
HTP
/
source
/
image.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-06-21
|
612b
|
33 lines
/*
//
// image.h
//
// Copyright (c) 1995-96 Jim Nelson. Permission to distribute
// granted by the author. No warranties are made on the fitness of this
// source code.
// Amiga version - 1997 - Geert Bevin
//
*/
#ifndef IMAGE_H
#define IMAGE_H
#include <exec/types.h>
/*
// image file structure
*/
typedef struct tagIMAGEFILE
{
char *name;
FILE *file;
uint imageType;
} IMAGEFILE;
BOOL OpenImageFile(const char *filename, IMAGEFILE *imageFile);
void CloseImageFile(IMAGEFILE *imageFile);
BOOL GetImageDimensions(IMAGEFILE *imageFile, WORD *width, WORD *height);
#endif